package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author daigaole
 * @description 删除档案请求对象
 * @date 2020-03-22
 */
@Data
@ApiModel(value = "删除档案请求对象", description = "删除档案请求对象")
public class DeleteArchiveReq extends BaseReqObj {

    private static final long serialVersionUID = 4892701639497658101L;

    @ApiModelProperty(value = "业态公司 id \n（仅综合管理平台使用）", notes = "业态公司 id \n（仅综合管理平台使用）", dataType = "Integer")
    private Integer formatId;

    /**
     * 档案id
     */
    @ApiModelProperty(value = "档案id", notes = "档案id", dataType = "Integer", required = true)
    @NotNull(message = "档案id不能为空")
    private Integer archiveId;

}
